import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { store, key } from './store'
import './assets/style/el-cover/el-cover.scss'
import './assets/style/index.scss'
// 在el-colver文件中已经引用
// import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import VueFullscreen from 'vue-fullscreen'
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'
//平台自己的组件库
import JxtechComponent from './components'

NProgress.configure({
    easing: 'ease', // 动画方式
    speed: 500, // 递增进度条的速度
    showSpinner: false, // 是否显示加载ico
    trickleSpeed: 200, // 自动递增间隔
    minimum: 0.3 // 初始化时的最小百分比
})

const app = createApp(App)
app.use(router)
app.use(store, key)
app.use(VueFullscreen)
app.use(ElementPlus)
app.use(JxtechComponent)
app.mount('#app')
